package com.xur.springboot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@NoArgsConstructor
@AllArgsConstructor
@Data
public class ChatMessage {
    private Integer id;
    private Integer sender_id;
    private Integer receiver_id;
    private String content;
    private LocalDateTime create_time;
    private Integer status; // 0-未读 1-已读
}